package Entities;

import java.io.Serializable;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;

@Entity
@DiscriminatorValue("DEPOSITOAREA")
public class Entity_DepositoArea extends Entity_Deposito implements Serializable {

	private static final long serialVersionUID = 1L;
	@OneToMany(cascade = CascadeType.ALL)
	@JoinColumn(name = "id_deposito")
	private List<Entity_StockProducto> stockProducto;
	public List<Entity_StockProducto> getStockProducto() {
		return stockProducto;
	}
	public void setStockProducto(List<Entity_StockProducto> stockProducto) {
		this.stockProducto = stockProducto;
	}
	
	
	
}
